﻿#include "cpuuse.h"

CpuUse::CpuUse(QObject *parent) : QBaseEntity(parent)
{

}

double CpuUse::getUsageRate() const
{
    return usageRate;
}

void CpuUse::setUsageRate(double value)
{
    usageRate = value;
}

QDateTime CpuUse::getComputeTime() const
{
    return computeTime;
}

void CpuUse::setComputeTime(const QDateTime &value)
{
    computeTime = value;
}

double CpuUse::getSelfUsageRate() const
{
    return selfUsageRate;
}

void CpuUse::setSelfUsageRate(double value)
{
    selfUsageRate = value;
}
